Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 7 - Transform Objects / Transform Objects Reference
Transform Objects Routines / Creating and Manipulating Translate Transforms


Q3TranslateTransform_Get

You can use the Q3TranslateTransform_Get function to query the private data stored in a translate transform.

TQ3Status Q3TranslateTransform_Get (
TQ3TransformObject transform, 
TQ3Vector3D *translate);
transform
A transform.
translate
On entry, a pointer to a vector. On exit, a pointer to a vector whose three fields specify the current translation along each coordinate axis.
DESCRIPTION
The Q3TranslateTransform_Get function returns, in the translate parameter, information about the translate transform specified by the transform parameter. You should use Q3TranslateTransform_Get only with transforms of type kQ3TransformTypeTranslate.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996